package com.lock.lockblog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 前端—— 主页类
 * @author Lock-玄清
 * @date 2017年4月14日 上午10:44:24
 */
@Controller
public class IndexController {

	/**
	 * 首页  Lock-玄清
	 * @return
	 */
	@RequestMapping(value={"","home","home.html"})
	public ModelAndView home(){
		return new ModelAndView("home");
	}

	/**
	 * 首页  Lock-玄清
	 * @return
	 */
	@RequestMapping(value={"index","index.html"})
	public ModelAndView index(){
		ModelAndView mv = new ModelAndView();

		return mv;
	}
	

}
